spring:
  application:
    name: Money Manager Backend
    version: 24.7.1
  liquibase:
    change-log: classpath:liquibase/masterChangelog.xml
  datasource:
    url: ${DATABASE_URL}
    driverClassName: org.postgresql.Driver
    username: ${DATABASE_USER}
    password: ${DATABASE_PASSWORD}
    hikari:
      schema: ${DATABASE_SCHEMA}

server:
  port: ${SERVER_PORT:8080}
  servlet:
    context-path: /money

management:
  endpoints:
    web:
      exposure:
        include: health,info,env,beans,prometheus
  metrics:
    export:
      prometheus:
        enabled: true
    distribution:
      percentiles-histogram:
        "[http.server.requests]": true